
import Taro, {Component} from '@tarojs/taro'
import {Text, View} from '@tarojs/components'
import {getRuntime} from "../utils/common";

class ViewPhone extends Component {
  handelRouter(url: string) {
    getRuntime().navigateTo(url)
  }
  render() {
    return (
      <View>
        <Text className='view-phone' onClick={this.handelRouter.bind(this,'/pages/user/upgrade')}>查看信息</Text>
      </View>
    )
  }
}

export default ViewPhone

